import { serviceFront } from './axios.js';

export function updatePhysicalPoint(params) {
  let _url = 'project/updatePhysicalPoint3';
  return serviceFront({
    url: _url,
    method: 'post',
    data: params,
  });
}

export function updatePhysicalPointNew(params) {
  let _url = 'deviceControl/updatePhysicalPoint';
  return serviceFront({
    url: _url,
    method: 'post',
    data: params,
  });
}


export function getMemo(id) {
  let _url = `project/getMemo?id=${id}`;
  return serviceFront({
    url: _url,
    method: 'get',
  });
}

export function saveMemo(params) {
  let _url = 'project/saveMemo';
  return serviceFront({
    url: _url,
    method: 'post',
    data: params,
  });
}